/*
 * @Author: 张小平
 * @Date:   2025-05-01
 * @Email:  qqshuqian@163.com
 * @Copyright © 2024 aseyun. All rights reserved.
 */
import request from '@/framework-core/axios';
import website from '@/framework-core/config/website';


/**
 * AI获取数据
 */
export function getAiData(data) {
    return request({
        url: website.baseUrl + '//api/code/ai/aiData',
        method: 'post',
        data: data
    });
}


/**
 * AI获取表单数据结构
 */
export function getAiFormCols(title) {
    return request({
        url: website.baseUrl + '/api/code/ai/get',
        method: 'post',
        data: {msg:title,isNew:'new',wordsCode:'code'}
    });
}
